package Dome;

import java.util.Scanner;

public class Lazy {

	public static void main(String[] args) {
		int a ;
		Scanner scan = new Scanner(System.in);
		System.out.println("请输入网购金额：");
		a = scan.nextInt();
		if (a<100 & a>0) {
			System.out.println("无折扣："+a);
		}else if (a>=100 & a<500) {
			System.out.println("九折后："+a*0.9);
		}else if (a>=500 & a<1000) {
			System.out.println("八点五折后："+a*0.85);
		}else if (a>=1000  & a<5000) {
			System.out.println("八折后："+a*0.8);
		}
	} 

	}